import request from '@/plugins/request';
// 内容数据列表
export function contentPublishList(data) {
    return request({
      url: "/v1/buss/content-publish/list",
      method: "get",
      params: data,
    });
}

// 内容数据详情
export function contentPublishInfo(data) {
  return request({
    url: "/v1/buss/content-publish/info",
    method: "get",
    params: data,
  });
}
  
  //录入数据
export function updateData(data) {
    return request({
        url: "/v1/buss/content-publish/update-data",
        method: "post",
        data,
    });
}

//用户筛选列表
export function publishCondition(data) {
    return request({
      url: "/v1/buss/content-publish/list-condition",
      method: "get",
      params: data,
    });
}


//业务数据列表
export function accountsDataList(data) {
  return request({
    url: "/v1/buss/accounts-data/index",
    method: "get",
    params: data,
  });
}
  //更新业务数据
  export function updateAccountsData(data) {
    return request({
        url: "/v1/buss/accounts-data/update",
        method: "post",
        data,
    });
}

//业务数据下拉筛选
export function accountsCondition(data) {
  return request({
    url: "/v1/buss/accounts-data/edit-condition",
    method: "get",
    params: data,
  });
}

  //删除业务数据
  export function deleteServiceData(data) {
    return request({
        url: "/v1/buss/accounts-data/delete",
        method: "post",
        data,
    });
}
//发布内容删除
export function delPublish(data) {
  return request({
      url: "/v1/buss/content-publish/delete",
      method: "post",
      data,
  });
}